package imnu0713_work;

import java.util.Scanner;

public class Test_04 {
    public static void main(String[] args) {
        System.out.println("请输入一个数字：");
        Scanner sc = new Scanner(System.in);
        while (true) {
            int a = sc.nextInt();
            if (a % 2 == 0) {
                System.out.println("偶数");
            } else if (a % 2 == 1) {
                System.out.println("奇数");
            }
        }
    }
}
